import Layout from '@/views/layout/Layout'
export default [
  {
    path: 'activityLists',
    component: Layout,
    meta: { title: '活动列表', icon: 'el-icon-document' },
    children: [
      {
        path: 'activityList',
        component: () => import('@/views/activityManage/activityLists/activityList/index'),
        meta: { title: '活动列表', icon: '' }
      },
      {
        path: 'activityList_form',
        component: () => import('@/views/activityManage/activityLists/activityList/ActivityForm'),
        meta: { title: '活动创建', icon: '' },
        hidden: true
      }
    ]
  },
  {
    path: 'activityModel',
    component: Layout,
    meta: { title: '活动模板', icon: 'el-icon-document' },
    children: [
      {
        path: 'timeGetVoucherModel',
        component: () => import('@/views/activityManage/activityModel/timeGetVoucherModel/index'),
        meta: { title: '限时抢券模板', icon: '' }
      },
      {
        path: 'prizeDrawModel',
        component: () => import('@/views/activityManage/activityModel/prizeDrawModel/index'),
        meta: { title: '抽奖模板', icon: '' }
      },
      {
        path: 'H5Model',
        component: () => import('@/views/activityManage/activityModel/H5Model/index'),
        meta: { title: 'H5活动模板', icon: '' }
      }
    ]
  },
  {
    path: 'hotFilmManages',
    component: Layout,
    meta: { title: '热门影片管理', icon: 'el-icon-document' },
    children: [
      {
        path: 'hotFilmManage',
        component: () => import('@/views/activityManage/hotFilmManages/hotFilmManage/index'),
        meta: { title: '影片列表', icon: '' }
      }
    ]
  },
  {
    path: 'prizeManages',
    component: Layout,
    meta: { title: '奖品管理', icon: 'el-icon-document' },
    children: [
      {
        path: 'prizeManage',
        component: () => import('@/views/activityManage/prizeManages/prizeManage/index'),
        meta: { title: '奖品列表', icon: '' }
      }
    ]
  }
]
